-
-
Notifications
You must be signed in to change notification settings - Fork 195
Northwest|May-2025 |Sofayas Solomon|Sprint-1 #624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
const dir = filePath.slice(0, lastSlashIndex); // This gives us everything up to (but not including) the last / | ||
const ext = base.slice(dotIndex); // gives ".txt" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is dotIndex
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dear Cj, i tried to explain it in the commit and hope i explained it better
Thanks for your prompt and clear responses in the comment threads. Well done! |
Dear Cj, Thank you very much |
Learners, PR Template
Self checklist
Changelist
This PR completes all assigned exercises and fixes in Sprint 1 of the Module-Structuring-and-Testing-Data coursework. Changes were made across key exercises, mandatory error corrections, and interpretation explanations. All code was tested and reviewed before committing.
✅ Key Changes:
Sprint-1/1-key-exercises/
(e.g. initials, random, paths, count)2-mandatory-errors/
3-mandatory-interpret/
with full step-by-step breakdownscardNumber.js
,percentage-change.js
,timeFormat.js
, and moreslice
,substring
,Number
, etc.)🔍 Other Notes:
node
to ensure no syntax errorscoursework/sprint-1-
Questions
node
, but I’m not sure if I missed any edge cases — is there anything you'd suggest testing differently?